package com.lyc.type;

import com.lyc.entity.Poin;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/10/25 9:40
 * @description：
 * @modified By：
 * @version:
 */
public class Text {
    public static void main(String[] args) {
        Poin<String> p1 = new Poin<>("东京30度", "南京500度");
        String x = p1.getX();
        String y = p1.getY();
        System.out.println(p1);


        Poin<Integer> p2 = new Poin<>(40, 60);
        Integer x1 = p2.getX();
        Integer y1 = p2.getY();
        System.out.println(p2);
    }
}